﻿// -------------------------------------------------------------------------
//    @FileName         :    NFSnsDetailPartModule.h
//    @Author           :    gaoyi
//    @Date             :    2025-03-31
//    @Email			:    445267987@qq.com
//    @Module           :    NFSnsDetailPartModule
//
// -------------------------------------------------------------------------

#pragma once

#include <NFComm/NFPluginModule/NFIDynServiceModule.h>

class NFSnsDetailPartModule : public NFIDysServiceModule
{
public:
    NFSnsDetailPartModule(NFIPluginManager *p);

    ~NFSnsDetailPartModule() override;

public:
    /**
     * @brief 处理客户端消息
     * @param msgId
     * @param packet
     * @param playerId
     * @param param2
     * @return
     */
    int OnHandleClientMessage(uint32_t msgId, NFDataPackage& packet, uint64_t playerId, uint64_t param2) override;

    /**
     * @brief 处理来自服务器的信息
     * @param msgId
     * @param packet
     * @param playerId
     * @param param2
     * @return
     */
    int OnHandleServerMessage(uint32_t msgId, NFDataPackage& packet, uint64_t playerId, uint64_t param2) override;
};
